//保存待计划
function submitMarket() {
    var reservationsId=$("#reservationsId").val();
    var revisitContent=$("#revisitContent").val();
    var appointmentTime=$("#appointmentTime").val();
    var statuss=$("#statuss").val();
    var followers=$("#followers").val();
    var params = {
        reservationsId: reservationsId,
        revisitContent: revisitContent,
        appointmentTime: appointmentTime,
        statuss: statuss,
        followers: followers
    };
    if (revisitContent== null || revisitContent== "") {
        alert("请填写回访结果!");
        return false;
    }
    if (appointmentTime== null || appointmentTime== "") {
        alert("请填写下次跟进时间!");
        return false;
    }
    $.ajax({
        url: Feng.ctxPath + "/marketPatientsCentral/patient_addVisitOk",
        type: "post",
        data: params,
        success: function (data) {
            Feng.success('操作成功!');
            window.location.href = Feng.ctxPath + "/marketPatientsCentral/marketPatient_returnVisit/"+reservationsId;
        }
    });
};

function patient_backHome () {  ////点击返回跳转页面 - 首页
    window.location.href = Feng.ctxPath + "/weixin/index";
}